<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link
  href="https://fonts.googleapis.com/css?family=Open+Sans"
  rel="stylesheet" />

  <style>
    #box1{
        color:red;
        font-size: 24px;
        font-family: "宋体";
        text-align: right;
    }
    #box2{
        color:red;
        font-size: 24px;
        font-family: "Open Sans";
        text-align:center;
        /* left：左边  center 居中  right 靠右 */
        background-color: aqua;
        letter-spacing:5px ;
        /* 字体间的空格 */
    }

  </style>
</head>
<body>

    <div id="box1">
        你好
    </div>
    <div id="box2">
        我好大家好
    </div>
</body>
</html>